package MessagePacks;

import java.util.ArrayList;
import java.util.HashMap;

/**
 *@author Juan Alapin - 324507516
 *@author Giora Yaffe - 036551281
 *@author Shachar Gritzman - 300174026
 *@author Nir Porat - 021515580
*/

public class GetAllPack extends MessagePack {

	private static final long serialVersionUID = 1L;
	public HashMap<String, String> mMap;
	public ArrayList<String> nArray;
	private int procID;
	private int supID;
	public int InitID;
	public int number;
	public int time;
	private int phase;
	private int flag;
	private int days;
	private String msg;
	
	/**
	 * Constructor
	 * @param op - operation code
	 */
	public GetAllPack(int op) {
		super(op);
		
	}
	
	public HashMap<String, String> getnMap() {
		return mMap;
	}
	
	public void setnMap(HashMap<String, String> nMap) {
		this.mMap = nMap;
	}
	
	public void setArray(ArrayList<String> nArray1) {
		this.nArray= nArray1;
	}
	
	public ArrayList<String> getArray() {
		return nArray;
	}
	
	public int getInitID() {
		return InitID;
	}
	
	public void setInitID(int initID) {
		this.InitID = initID;
	}

	public int getNumber() {
		return number;
	}

	public void setNumber(int number) {
		this.number = number;
	}
	
	public int getTime() {
		return time;
	}

	public void setTime(int time) {
		this.time = time;
	}

	public int getPhase() {
		return phase;
	}

	public void setPhase(int phase) {
		this.phase = phase;
	}

	public int getFlag() {
		return flag;
	}

	public void setFlag(int flag) {
		this.flag = flag;
	}

	public int getDays() {
		return days;
	}

	public void setDays(int days) {
		this.days = days;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public int getProcID() {
		return procID;
	}

	public void setProcID(int procID) {
		this.procID = procID;
	}

	public int getSupID() {
		return supID;
	}

	public void setSupID(int supID) {
		this.supID = supID;
	}
}
